<%@page import="java.text.SimpleDateFormat"%>
<%@ page language="java" import="java.util.*,com.enterprise.daoImpl.*" pageEncoding="UTF-8"%>
<%@include file="head.jsp" %>
<%
	String strs=request.getParameter("id");
	NewsDaoImpl newsDaoImpl=new NewsDaoImpl();
	int ids=1;
	if(strs!=null)
		ids=Integer.parseInt(strs);
	News n=newsDaoImpl.getNews(ids);
 %>
<table width="991" height="353" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-top:16px; margin-bottom:26px;">
  <tr>
    <td width="13" valign="top"></td>
    <td width="209" valign="top"><table width="209" height="32" border="0" cellpadding="0" cellspacing="0" bgcolor="#F8F6DD">
      <tr>
        <td width="87" class="ab4" style="padding-left:15px; padding-top:3px;">新闻中心</td>
        <td width="13" class="ab4" ><img src="images/imgbyj/line.gif" width="13" height="32" /></td>
        <td width="109" class="r2" style="padding-top:7px;">NEWS CENTER </td>
      </tr>
    </table>
        <table width="209" height="28" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td><img src="images/imgbyj/ab2.gif" width="209" height="28" /></td>
          </tr>
        </table>
      <table width="209" height="84" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td align="center" valign="top" background="images/imgbyj/ab3.gif">
<%
	String str=request.getParameter("BigClass");
	int id;
	if(str!=null&&!str.equals(""))
		id=Integer.parseInt(str);
	else
		id=1;
	NodeDaoImpl nodeDaoImpl=new NodeDaoImpl();
	List<Node> nodes=nodeDaoImpl.getNodes(-1);
	if(nodes!=null)
	for(Node node:nodes){
	

 %>
	

                <table width="171" height="29" border="0" cellpadding="0" cellspacing="0" background="images/imgbyj/abbg.gif" style="margin-bottom:12px;">
                  <tr>
                    <td align="left"><a href="NewsClass.asp?BigClass=<%=node.getId()%>" class="lmenu" style="padding-left:50px; padding-top:4px;"><%=node.getClassName()%></a></td>
                  </tr>
                </table>
<%} %>
              <%-- <%rslist.movenext 
loop
rslist.close
set rslist=nothing
%>
 --%>

            </td>
          </tr>
      </table>
      <table width="209" height="16" border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td><img src="images/imgbyj/ab4.gif" width="209" height="16" /></td>
        </tr>
      </table></td>
    <td width="22" valign="top"></td>
    <td width="747" valign="top"><table width="747" height="28" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="69" class="ab4" style="padding-top:5px;"><%=nodeDaoImpl.getNode(id).getClassName()%></td>
        <td width="113"><img src="images/imgbyj/ab5.gif" width="89" height="28" /></td>
        <td width="404" align="right"><img src="images/imgbyj/ab6.gif" width="45" height="28" /></td>
        <td width="161" class="ab5" style="padding-top:5px;">&gt; 新闻中心 &gt; <%=nodeDaoImpl.getNode(id).getClassName()%></td>
      </tr>
    </table>
        <table width="740" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#D0D0C5">
          <tr>
            <td height="1"></td>
          </tr>
        </table>
					      <table width="740" height="1" border="0" cellpadding="0" cellspacing="0" bgcolor="#D0D0C5">
          <tr>
            <td height="1"></td>
          </tr>
        </table>
      <table width="723" height="264" border="0" align="center" cellpadding="0" cellspacing="0" style=" margin-top:41px; margin-left:12px; margin-right:12px;">
          <tr>
            <td valign="top" class="aboutus">
			<table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <td height="50" colspan="2" align="center" class="newsimg_cn"><font size="5"><%=n.getTitle() %></font></td>
                        </tr>
                        <tr align="center">
                          <td width="20%" height="30" class="tit"  style="BORDER-RIGHT: #e9e9e9 1px solid; BORDER-TOP: #e9e9e9 1px solid; BORDER-LEFT: #e9e9e9 1px solid; BORDER-BOTTOM: #e9e9e9 1px solid" >双击自动滚屏</td>
                          <td width="80%"  style="BORDER-RIGHT: #e9e9e9 1px solid; BORDER-TOP: #e9e9e9 1px solid; BORDER-LEFT: #e9e9e9 1px solid; BORDER-BOTTOM: #e9e9e9 1px solid" >发布者：<%=n.getPublisher() %> 发布时间：<%=new SimpleDateFormat("yyyy/DD/MM").format(n.getAddDate()) %> <!-- 阅读：<font color="#FF0000">1</font>次 --> <!-- 【字体：<A class=black href="javascript:fontZoom(16)">大</A> <A class=black href="javascript:fontZoom(14)">中</A> <A class=black href="javascript:fontZoom(12)">小</A>】 --></td>
                        </tr>
                        <tr>
                          <td class=black id=fontzoom colspan="2"><br>
                              <%=n.getContent() %>
                        </tr>
                        <tr align="right">
                          <td colspan="2">&nbsp;</td>
                        </tr>
                        <tr align="right">
                          <td colspan="2">&nbsp;</td>
                        </tr>
                        
              </table>
			</td>
          </tr>
      </table></td>
  </tr>
</table>
</td>
  </tr>
</table>
<%@include file="foot.jsp" %>
